function Show(that, iconType, alertlable) {
  //iconType info success waiting
  that.setData({
    isAlert: true,
    iconType: iconType,
    alertLable: alertlable
  });
  setTimeout(function (e) {
    that.setData({
      isAlert: false
    })
  }, 2000)
}

function Load(that, alertlable) {
  //iconType info success waiting
  that.setData({
    isAlert: true,
    iconType: 'waiting',
    alertLable: alertlable
  });
}

function Hide(that){
  that.setData({
    isAlert:false
  })
}
module.exports = {
  show: Show
  //load: Load,
  //hide: Hide
}